add_executable(test_channel_flow channel.cpp ${QuokkaObjSources})

if(AMReX_GPU_BACKEND MATCHES "CUDA")
    setup_target_for_cuda_compilation(test_channel_flow)
endif(AMReX_GPU_BACKEND MATCHES "CUDA")

add_test(NAME ChannelFlow COMMAND test_channel_flow ../inputs/NSCBC_Channel.in ${QuokkaTestParams} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests)

if (AMReX_SPACEDIM GREATER_EQUAL 2)
    add_executable(test_vortex vortex.cpp ${QuokkaObjSources})
    
    if(AMReX_GPU_BACKEND MATCHES "CUDA")
        setup_target_for_cuda_compilation(test_vortex)
    endif(AMReX_GPU_BACKEND MATCHES "CUDA")
endif(AMReX_SPACEDIM GREATER_EQUAL 2)
